package com.woniuxy.commons.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryEntity<T> {
    //当前页码
    private int currentPage;
    //页面大小
    private int pageSize;
    //查询条件实体
    private T entity;
    //排序规则
    private String orderSort;
    //排序字段
    private String orderKey;
}